import './assets/main.scss'
//导入element-plus和其样式
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createApp } from 'vue'
import App from './App.vue'
//导入路由
import router from '@/router/index.js'//index.js可省略，他是默认的名字
//导入状态管理组件pinia,用于多个组件(vue页面)之间共享数据(比如token)
import { createPinia } from 'pinia'
//导入pinia-persist,持久化插件
import { createPersistedState } from 'pinia-persistedstate-plugin'
//导入中文语言包
import locale from 'element-plus/dist/locale/zh-cn.js'
const app=createApp(App)
const pinia=createPinia()
const persist=createPersistedState()
pinia.use(persist)
app.use(pinia)
app.use(router)//使用vuw-router
app.use(ElementPlus,{locale})//使用并配置element-plus
app.mount('#app')

// Microsoft Windows [版本 10.0.19045.4412]
// (c) Microsoft Corporation。保留所有权利。

// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event>npm init vue@latest

// Vue.js - The Progressive JavaScript Framework

// √ 请输入项目名称： ... big_event
// √ 是否使用 TypeScript 语法？ ... 否 / 是
// √ 是否启用 JSX 支持？ ... 否 / 是
// √ 是否引入 Vue Router 进行单页面应用开发？ ... 否 / 是
// √ 是否引入 Pinia 用于状态管理？ ... 否 / 是
// √ 是否引入 Vitest 用于单元测试？ ... 否 / 是
// √ 是否要引入一款端到端（End to End）测试工具？ » 不需要
// √ 是否引入 ESLint 用于代码质量检测？ ... 否 / 是
// √ 是否引入 Vue DevTools 7 扩展用于调试? (试验阶段) ... 否 / 是

// 正在初始化项目 C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event...

// 项目初始化完成，可执行以下命令：

//   cd big_event
//   npm install
//   npm run dev


// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event>cd big_event

// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install

// added 27 packages in 9s

// 4 packages are looking for funding
//   run `npm fund` for details

// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install element-plus --save

// added 23 packages in 17s

// 9 packages are looking for funding
//   run `npm fund` for details

// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>
// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install axios

// added 9 packages in 2s

// 10 packages are looking for funding
//   run `npm fund` for details

// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install sass -D

// added 16 packages in 2s

// 13 packages are looking for funding
//   run `npm fund` for details
// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install vue-router@4

// added 2 packages in 10s

// 14 packages are looking for funding
//   run `npm fund` for details
// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install pinia

// added 2 packages in 4s

// 15 packages are looking for funding
//   run `npm fund` for details
// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install pinia-persistedstate-plugin

// added 2 packages in 3s

// 15 packages are looking for funding
//   run `npm fund` for details
// C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\big_event>npm install @vueup/vue-quill@latest --save

// added 35 packages in 4s

// 32 packages are looking for funding
//   run `npm fund` for details
